package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.Detail;
import cn.wolfcode.trip.base.mapper.DetailMapper;
import cn.wolfcode.trip.base.service.IDetaulService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DetailServiceImple implements IDetaulService {

    @Autowired
    private DetailMapper detailMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(Detail record) {
        return 0;
    }

    @Override
    public Detail selectByPrimaryKey(Long id) {
        Detail detail = detailMapper.selectByPrimaryKey(id);
        return detail;
    }

    @Override
    public List<Detail> selectAll() {
        return null;
    }

    @Override
    public int updateByPrimaryKey(Detail record) {
        return 0;
    }
}
